package com.example.oasystem.service.impl;

import com.example.oasystem.dao.schedule.AoaScheduleListDaoOfl;
import com.example.oasystem.entity.schedule.AoaScheduleListOfl;
import com.example.oasystem.service.AoaScheduleListServiceOfl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AoaScheduleListServiceImplOfl implements AoaScheduleListServiceOfl {

    @Autowired
    AoaScheduleListDaoOfl aoaScheduleListDaoOfl;
    @Override
    public List<AoaScheduleListOfl> scheduleList(Long userId) {
        return aoaScheduleListDaoOfl.scheduleList(userId);
    }

//    @Override
//    public List<AoaScheduleListOfl> superiorScheduleList(Long userId) {
//        return aoaScheduleListDaoOfl.superiorScheduleList(userId);
//    }


    @Override
    public List<AoaScheduleListOfl> otherScheduleList(Long userId) {
        return aoaScheduleListDaoOfl.otherScheduleList(userId);
    }
}
